package com.fs.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author: qiji
 * @date:
 * @description:调拨单类
 */
@Data
@TableName("wh_transfer")
public class WhTransfer {
    @TableId(type = IdType.AUTO)
    private Integer transferId;                   //调拨ID，主键，自增
    private Integer sourceWarehouseId;            //源仓库编号
    private Integer destinationWarehouseId;       //目标仓库编号
    private Date transferDate;                    //调拨日期
    private String transferReason;                //调拨原因
    private String transferStatus;                //调拨状态
    private String createdBy;                     //创建者
    private Date createdAt;                       //创建时间
    private String updatedBy;                     //更新者
    private Date updatedAt;                       //更新时间

//    // 构造函数
//    public WhTransfer(Integer sourceWarehouseId, String transferStatus, String createdBy) {
//        this.sourceWarehouseId = sourceWarehouseId;
//        this.transferStatus = transferStatus;
//        this.createdBy = createdBy;
//    }
}